package com.zkthink.ceres.promotion.dto;

import com.zkthink.ceres.promotion.entity.PromotionStat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@ApiModel("活动统计数据")
@Data
public class PromotionStatDTO implements Serializable {

    @ApiModelProperty("成交总额")
    private Long tradeAmout;

    @ApiModelProperty("支付订单数")
    private Integer tradeOrderCount;

    @ApiModelProperty("支付客户数")
    private Integer tradeUserCount;

    @ApiModelProperty("参与商家数")
    private Integer tradeTenantCount;

    @ApiModelProperty("参与商品数")
    private Integer tradeProductCount;

    @ApiModelProperty("销售额趋势，展示最近7天的销售额")
    private List<PromotionStatDayDTO> promotionStatDayDTOList;

    @ApiModelProperty("商家销售额排行榜")
    private List<PromotionTenantRankDTO> promotionTenantRankDTOList;

}
